﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpStatisticDetail.aspx.cs" Inherits="UI.ModEmployee.EmpStatisticDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>统计明细</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
         <script type="text/javascript" src="../JS/jsFunction.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            
          统计明细信息</div>
        <div class="pagetopright"><asp:Button ID="btnExcel" runat="server" Text="导出该类数据" CssClass="ButtonCss" OnClick="btnExcel_Click" />
        <asp:Button ID="btnExcelAll" runat="server" Text="导出所有数据" CssClass="ButtonCss" OnClick="btnExcelAll_Click" />
        </div>
    </div>
<asp:GridView ID="gvList" runat="server" DataKeyNames="EmpCode" Width="1200px" AutoGenerateColumns="False"
        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
        CellPadding="3" GridLines="Horizontal">
        <Columns>
         <asp:TemplateField HeaderText=" ">
            <ItemTemplate> <%# Container.DataItemIndex + 1%></ItemTemplate>  
                  
            </asp:TemplateField>
            <asp:BoundField DataField="DeptName" HeaderText="部门名称" SortExpression="DeptName" ItemStyle-HorizontalAlign="Center" >
                <ItemStyle Width="120px" />
            </asp:BoundField>
            <asp:BoundField DataField="EmpCode" HeaderText="工号" SortExpression="EmpCode">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="EmpName" HeaderText="员工姓名" SortExpression="EmpName">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="DutyName" HeaderText="职务" SortExpression="DutyName">
                <ItemStyle Width="120px" />
            </asp:BoundField>
            <asp:BoundField DataField="AreaName" HeaderText="区域" SortExpression="AreaName">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="StateName" HeaderText="状态" SortExpression="StateName">
                <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="EmpSex" HeaderText="性别" SortExpression="EmpSex">
                <ItemStyle Width="60px" />
            </asp:BoundField>
            <asp:BoundField DataField="EducationName" HeaderText="学历" SortExpression="EducationName">
                <ItemStyle Width="70px" />
            </asp:BoundField>
            <asp:BoundField DataField="Registry" HeaderText="籍贯" SortExpression="Registry">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="JoinTime" HeaderText="入职时间" DataFormatString="{0:d}"  SortExpression="JoinTime">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="SafetyAmount" HeaderText="保险" SortExpression="SafetyAmount">
                <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="SalaryState" HeaderText="工资状态" SortExpression="SalaryState">
                <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="Remark" HeaderText="标注" SortExpression="Remark">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="WorkGroup" HeaderText="班组" SortExpression="WorkGroup">
                <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="Mobile" HeaderText="手机" SortExpression="Mobile">
                <ItemStyle Width="90px" />
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />      
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <AlternatingRowStyle BackColor="#F7F7F7" />
    </asp:GridView>
    </form>
</body>
</html>
